<!--<body>-->
<script src="<?php echo base_url('skin/js/summary.js'); ?>"></script>
        
    <div id="orderSummary">

	<div class="galleryRight"></div>
         <div class="width960c">
            
            <div class="alignCenter" id="statusSummary">
                <!--<h1 class="header36 marg10 textBold">Your GoGADGETS prepaid bundle details</h1>-->
                <h1 class="header36 marg10 textBold">Order Summary</h1>
				<p class="text16 marg10Top alignCenter">Please review your order before clicking the <b>Activate plan</b> button.</p>
                <div class="width500" style="display:none">
                <p class="text20 marg0 textBold">Status: <span class="greenText"> Completed</span></p>
                <p class="text16 marg10Top">The commitment period has been completed.</p>

                <hr>                
                <p><b> Amount of savings received to date:</b> P50.00</p>
                <p><b>Total savings for the chosen commitment period:</b> P1,324.00 </p>
                <hr>

                </div>             
                
            </div>
            <div class="globelogo" style="margin-top:30px">
					<img src="<?php echo base_url('skin/images/globe.png'); ?>" width="128" height="55" alt="Globe">
			</div>
            <div class="planCode" style="display:none">
                <div class="floatLeft box1">
                    <img class="marg20Top" src="<?php echo base_url('skin/images/goGadgetsMini.png'); ?>" width="94" height="105" alt=""/>
                </div>
                
                <div class="floatLeft box2">
                    <h1 class="marg0 header24">Congratulations, <span id="nameReturned"></span>!</h1><h1 class="marg0 header24">You&#39;ve successfully registered to a GoGADGETS prepaid bundle.</h1>
                    <h2 class="header30 marg10Top textBold underLine">Your reference number is <span id="planCodemismo"></span></span></h2>
                    <p class="text14 marg0">Your reference number has been sent to your Globe Prepaid mobile number and email. Please make sure that you have your reference number and registration summary ready when you go to your chosen Globe Store for gadget pick up. You&#39;ll receive a notification within 48 hours indicating your gadget pick up details.
                   <br> <i>*If you don't have an existing Globe Prepaid number, your reference number will be sent to the email address you've provided.</i>
                    
                    </p>
                </div>
                <span class="clear"></span>
            </div>
            
            <div class="phoneSum">
                <div class="floatLeft information">
                        <p class="font24yv fontBold marg0" id="referencenumber" style="display:none">Reference Number: <?php if(isset($_COOKIE['tiangge_planCode'])) echo $_COOKIE['tiangge_planCode']; ?></p>
						
						<div class="clear"></div>
						
                        <p class="text20 marg0"><?php if(isset($_COOKIE['tiangge_model'])) echo $_COOKIE['tiangge_model']; ?></p>
                        
                        
                        <ul>
                        <li><?php if(isset($_COOKIE['tiangge_choosePromo'])) echo $_COOKIE['tiangge_choosePromo']; ?>
                           <p> With <?php 
										$user_agent = $_SERVER['HTTP_USER_AGENT']; 
										if (strpos( $user_agent, 'Safari') !== false) {
											if(isset($_COOKIE['tiangge_promoDesc'])) {
												$promoDesc = $_COOKIE['tiangge_promoDesc'];
												echo str_replace("john",",",$promoDesc);
											}
										} else {
											if(isset($_COOKIE['tiangge_promoDesc'])) {
												echo $_COOKIE['tiangge_promoDesc'];
											}
										}	
									?>.
							</p>
                           <p> Valid for <?php if(isset($_COOKIE['tiangge_validity'])) echo $_COOKIE['tiangge_validity']; ?></p>
							
							<?php if ($_COOKIE['tiangge_validity'] == "7 days"): ?>
								 <p>Must subscribe weekly throughout the registration period</p>
							<?php elseif ($_COOKIE['tiangge_validity'] == "15 days"): ?>
								 <p>Must subscribe twice a month throughout the registration period</p>
							<?php else: ?>
								 <p>Must subscribe monthly throughout the registration period</p>
							<?php endif;?>

                        </li>
                        <li>Registration period and cash back
                            <p><?php if(isset($_COOKIE['tiangge_months'])) echo $_COOKIE['tiangge_months']; ?></p>
                            <p>Total cash back of <?php if(isset($_COOKIE['tiangge_totalrebate'])) echo "P" . number_format(str_replace("P", "", $_COOKIE['tiangge_totalrebate']),2);?>&nbsp;(<?php if(isset($_COOKIE['tiangge_rebateamt'])) echo "P" . number_format(str_replace("P", "", $_COOKIE['tiangge_rebateamt']),2); ?> per registration to <?php if(isset($_COOKIE['tiangge_choosePromo'])) echo $_COOKIE['tiangge_choosePromo']; ?>)</p></li>
                        </ul>
                        <a id="changepromodetails" href="#." class="block underline">Change promo details</a>
                
                </div>
                
                <div class="floatRight priceList">
                        <div class="darkGrayBg">
                        <p>Required cash out is:</p>
                        </div>
                        <table>
                            <tr>
                                <td><?php if(isset($_COOKIE['tiangge_model'])) echo $_COOKIE['tiangge_model']; ?> </td>             
                                <td class="alignRight"><?php if(isset($_COOKIE['tiangge_price'])) echo $_COOKIE['tiangge_price']; ?></td>
                            </tr>
                            <tr>
                                <td><?php if(isset($_COOKIE['tiangge_choosePromo'])) echo $_COOKIE['tiangge_choosePromo']; ?></td>
                                <td class="alignRight"><?php if(isset($_COOKIE['tiangge_promoprice'])) echo $_COOKIE['tiangge_promoprice']; ?></td>
                           
                            </tr>
                             <tr class="fontBold text20">
                            <td><p>Total Cash Out </p> </td><td  class="alignRight"><p><?php if(isset($_COOKIE['tiangge_totalcash'])) echo  "P" . number_format(str_replace(",", "", substr($_COOKIE['tiangge_price'],1)) + str_replace(",", "", $_COOKIE['tiangge_promoprice']),2); ?></p></td>
                            </tr>
                        </table>
                        <div class="darkGrayBg">
								<?php if (strchr(number_format(str_replace(",", "", substr($_COOKIE['tiangge_price'],1)) - str_replace("P","",str_replace(",", "", $_COOKIE['tiangge_totalrebate'])),2),"-",false)): ?>
									 <p>With your cash back, the gadget price is now:</p>
								<?php else: ?>
									 <p>With your cash back, the discounted gadget price is:</p>
								<?php endif;?>
                        </div>
                        <table>
                            <tr>
                                <td><?php if(isset($_COOKIE['tiangge_model'])) echo $_COOKIE['tiangge_model']; ?> </td>             
                                <td class="alignRight"><?php if(isset($_COOKIE['tiangge_price'])) echo $_COOKIE['tiangge_price']; ?></td>
                            </tr>
                            <tr>
                                <td>Total cash back</td>
                                <td class="alignRight"><?php if(isset($_COOKIE['tiangge_totalrebate'])) echo number_format(str_replace("P", "", $_COOKIE['tiangge_totalrebate']),2); ?></td>
                           
                            </tr>
                            <tr class="fontBold text20">
								<?php if (strchr(number_format(str_replace(",", "", substr($_COOKIE['tiangge_price'],1)) - str_replace("P","",str_replace(",", "", $_COOKIE['tiangge_totalrebate'])),2),"-",false)): ?>
									 <td><p>Gadget Price<br/>(After Cash Back)</p></td><td class="alignRight"><p><span style="text-decoration:line-through"><?php if(isset($_COOKIE['tiangge_discounted'])) echo "P" . number_format(str_replace(",", "", substr($_COOKIE['tiangge_price'],1)) - str_replace("P","",str_replace(",", "", $_COOKIE['tiangge_totalrebate'])),2); ?></span><br/>FREE</p></td>
								<?php else: ?>
									 <td><p>Discounted Gadget Price</p></td><td class="alignRight"><p><?php if(isset($_COOKIE['tiangge_discounted'])) echo "P" . number_format(str_replace(",", "", substr($_COOKIE['tiangge_price'],1)) - str_replace("P","",str_replace(",", "", $_COOKIE['tiangge_totalrebate'])),2); ?></p></td>
								<?php endif;?>
                            </tr>
                        </table>
                        
                        
                        
                </div>
                 <span class="clear"></span>
            
            </div>
            
            
            <div class="phoneSum2 text14" style="background-color: white;">
                <div class="phoneSum2A floatLeft">
                    <div><p class="textBold inBlock  width215">Mobile number </p> <p class="inBlock"><span id="sum-mobtel">
					<?php if(isset($_COOKIE['tiangge_mobtel'])){ if($_COOKIE['tiangge_mobtel']=="0") echo "None"; else echo $_COOKIE['tiangge_mobtel'];} ?>
					</span><a href="#." class="inBlock linkColor marg20Left underline" id="changemobtel">Edit</a></p></div>
                    <div><p class="textBold inBlock width215">Name</p>                 <p class="inBlock"><?php if(isset($_COOKIE['tiangge_sumname'])) echo $_COOKIE['tiangge_sumname']; ?> <a href="#." class="inBlock linkColor marg20Left underline" id="changeuserprofile">Edit</a></p></div>
                    <div><p class="textBold inBlock width215">Nickname</p>             <p class="inBlock"><?php if(isset($_COOKIE['tiangge_nname'])) echo $_COOKIE['tiangge_nname']; ?></p></div>
                    <div><p class="textBold inBlock width215">Email address</p>            <p class="inBlock"><?php if(isset($_COOKIE['tiangge_eadd'])) echo $_COOKIE['tiangge_eadd']; ?></p></div>
                    <div><p class="textBold inBlock width215">Other contact number</p>   <p class="inBlock"><?php if(isset($_COOKIE['tiangge_othercont'])) echo $_COOKIE['tiangge_othercont']; ?></p></div>
                    <div><p class="textBold inBlock width215">Date of birth</p>            <p class="inBlock"><?php if(isset($_COOKIE['tiangge_bday'])){date_default_timezone_set("Asia/Manila");$date = new DateTime($_COOKIE['tiangge_bday']); echo date_format($date,'m-d-Y');} ?></p></div>
                    <div>
                    	<p class="textBold inBlock width215">Home address</p>
	                    <p class="inBlock">
							<?php 
							if($_COOKIE['tiangge_province']=="Metro Manila")
								echo $_COOKIE['tiangge_address'] . ', ' . $_COOKIE['tiangge_area'] . ', ' . $_COOKIE['tiangge_town'] . ', ' . $_COOKIE['tiangge_province'] . ', ' . $_COOKIE['tiangge_postalcode']; 
							else 
								echo $_COOKIE['tiangge_address'] . ', ' . $_COOKIE['tiangge_town'] . ', ' . $_COOKIE['tiangge_province'] . ', ' . $_COOKIE['tiangge_postalcode']; 
							?>
	                    </p>
                    </div>
  
                </div>
                
                
                <span class="clear"></span>
                
                <div id="printbutton" class="alignCenter" style="display:none">
                    <a href="#." id="btn_print" class="buttonBlue text14 marg10Top">Print</a>
                </div>
                
            </div>
            
            <div class="phoneSum3" id="termsandconditionscontainer">
                <h1 class="header28 marg20Top">Terms and conditions</h1>
                
                
                <div class="termsACondition scroll-pane">
						
                        <p class="marg0 alignCenter fontBold">TERMS AND CONDITIONS SPECIFIC TO THE </br>GLOBE PREPAID GOGADGETS SUBSCRIPTION DEAL</p>
                        <br>
						<p class="marg0" style="text-align:justify;">
						I. These Terms and Conditions specific to the Globe Prepaid GoGadgets Subscription Deal (“Terms and Conditions”) supplement the provisions of the Globe Prepaid Terms & Conditions of Use. The Globe Prepaid GoGadgets Subscription Deal allows an active Globe Prepaid subscriber to acquire a gadget through creation of his/her own Globe Prepaid bundle (i.e. prepaid promo, registration period and gadget selection) in accordance with these Terms and Conditions.<br><br>
						II. In the event of conflict or inconsistency between the provisions of the Globe Prepaid Terms & Conditions of Use and these Terms and Conditions, the provisions of these Terms and Conditions shall prevail.  All other provisions of the Globe Prepaid Terms & Conditions of Use not otherwise inconsistent with these Terms and Conditions shall remain binding and effective.<br><br>
						III. Specific to the Globe Prepaid GoGadgets Subscription Deal (“GoGadgets Deal”), the following shall apply:<br><br>
						
						1. All individuals of legal age are qualified to join the GoGadgets Deal. Minors shall be entitled to avail of the GoGadgets Deal provided that upon redemption of the selected gadget, such minor shall present IDs and must be accompanied by his/her parent and/or legal guardian.<br><br>
						2. Registration to the GoGadgets Deal is on a per Globe Prepaid mobile number basis.  Thus, an individual Globe Prepaid subscriber may be allowed to register to the GoGadgets Deal more than once provided that he/she:<br><br>						
						•	has completed the registration period indicated in his/her earlier GoGadgets Deal OR has opted out of his/her current GoGadgets Deal subscription subject to the forfeiture of the benefits included thereon,  <br>
						•	shall use another Globe Prepaid number not currently subscribed to the GoGadgets Deal.<br><br>
						
						3. To register to the GoGadgets Deal, the subscriber must complete the GoGadgets Deal registration process by using the Globe GoGadgets portals.  <br><br>
						
						During the registration process, the subscriber must successfully select options available thereat and provide the information required in the chosen portal for purposes of creating his/her own Globe Prepaid bundle.  
						Once registration is successful, within 48 hours therefrom, the subscriber will receive a reference number to be presented upon redemption of his/her gadget. Failure to present the reference number shall not oblige Globe Telecom (“Globe”) to release any gadget to the subscriber. <br><br>
						
						4. On redemption, the gadget shall be personally picked-up by the subscriber from his/her nominated Globe Store by submitting sufficient proof of identity and the Globe-provided reference number. Proxies shall not be allowed. Further, subscriber agrees to pay for the cash-out requirement as indicated on his/her GoGadgets Deal registration. Subscriber also agrees that his/her prepaid mobile number subscribed to GoGadgets Deal will be registered to GCASH and that, as such, subscriber may be subjected to further processes and/or requirements in compliance with the Know-Your-Customer mandate of the Bangko Sentral ng Pilipinas.  Subscriber agrees to be bound by the GCASH terms and conditions that may be viewed at <a href="http://www.globe.com.ph/gcash-terms-and-conditions">http://www.globe.com.ph/gcash-terms-and-conditions.</a><br><br>
						
						5. Following redemption of the gadget and complete registration to the GoGadgets Deal, subscriber shall receive in his/her GCASH wallet the amount equivalent to the savings indicated on his/her GoGadgets Deal registration. The GCASH savings shall be provided by Globe in such quantity and frequency as chosen by the subscriber, subject to the following: <br><br>
						(a) Only the duly GoGadgets-registered prepaid mobile number (with concurrent GCASH registration) will receive the GCASH savings. <br>
						(b) The GoGadgets-registered prepaid mobile number cannot be changed, substituted, or replaced by any other mobile number during the registration period.<br>
						(c) To ensure continuous receipt of the GCASH savings, the subscriber will receive SMS reminders or notifications 7 days, 3 days and 1 day prior to the expiration of his/her prepaid promo. Provided that, one day prior to the promo expiration, subscriber will receive a notification that promo will be automatically be renewed if subscriber has sufficient load. If he/she has enough load balance, his/her GoGadgets prepaid promo will be automatically renewed. In case of insufficient load balance, the subscriber will be advised to reload so he/she can continue registering to the GoGadgets promos.<br>
						(d) Where automatic renewal has not occurred and the subscriber fails to register anew to the prepaid promo upon expiration of the current promo, the subscriber will be given a 30-day grace period to reregister again to the prepaid promo to get another GCASH savings. SMS notices will be sent to the subscriber as reminder to reregister during the grace period. If the subscriber fails to register to the promo within the 30-day grace period, the GoGadgets promo subscription of the subscriber will be forfeited and the subscriber’s relevant prepaid mobile number can no longer register to the prepaid promo and get rebates under then subscriber’s GoGadgets Deal subscription.<br><br>
						
						6. After completing a-month cycle of promo registration/s, the subscriber will be entitled to change the prepaid promo he/she wants to avail under his/her current GoGadgets Deal subscription provided that the subscriber can change only to the prepaid promos that will yield the same GCASH savings. <br><br>
						7. Subscriber acknowledges that he/she has reviewed and understood all the features of the gadget obtained, especially when it involves using the mobile device to access the internet, including on how to unsubscribe from the same if necessary.  The Subscriber is aware that there are charges for accessing the internet using his/her mobile gadget depending on the mobile internet service availed of or opted in. In addition, a Subscriber who is in roaming service shall be responsible for accessing GLOBE’s website for information on applicable internet rates and roaming charges.<br><br>
						By affixing his/her signature below, Subscriber confirms that he/she has read and understood the foregoing Terms and Conditions specific to the Globe Prepaid GoGadgets Subscription Deal (including the terms and conditions stated in the chosen portal) and that he/she agrees to be bound thereby.

						</p>
                   
               </div>
               
               
              <label id="agreecheckbox" class="customCheckbox marg10 text16"><input type="checkbox" value=""  name="" id="agree" /><span id="checkmepls" class="checkbg marg10Right"></span>
              <span class="textBlue">I accept the terms and conditions</span></label>
              
              <a href="#." class="floatRight marg10 textBlue printterms"><span class="printIcon"></span>Print terms and conditions</a>
               
               <span class="clear"></span>
               
              <a href="#." class="buttonBlue disable floatCenterActivate text14 marg20Top" id="confirm"><span class="other arrow"></span> Activate plan</a>
                 <span class="clear"></span>
           </div>
            
         </div>   
                
      
    </div>
	<div id="modalmobtel" style="display:none">                 
        <div  class="modalStyle">
            <a href="#." class="closeIcon"></a>
             <h1 class="header30 textLight">Edit Globe Prepaid number</h1>
             
             <div class="planCodeBox">
                <input class="inputText floatLeft width350" id="mobile_number2" placeholder="09xxxxxxxxx" maxlength="11"/>
				<a id="submit_mobtel2" class="floatLeft buttonBlue text14 marg10Left marg10Top">Send Code</a>
                <div class="clear"></div>
					<p class="errorBox error1">The mobile number format is invalid. Please enter an 11-digit Globe Prepaid number.</p>
					<p class="errorBox error2">You entered the same number.</p>
					<p class="errorBox error3">Sorry, but GoGadgets promo is available to Globe prepaid customers only.</p>
					<p class="errorBox error4">You currently have an active GoGADGETS registration. Each Globe Prepaid number is entitled to only one active GoGADGETS
                    plan at a given time.</p>
                <span class="clear"></span>
                
                <div id="verificationCode2" class="ValidateBox marg10Top" style="display:none">
                	<p class="text14 marg0">We sent you a text message with the verification code. Please enter the code below.</p>
                	<input id="verif_code2" class="inputText floatLeft width350 marg10Top" placeholder="" maxlength="6"/><a id="validate_verif_code2" class="floatLeft buttonBlue text14 marg10Left marg20Top"> Validate</a>
                    <div class="clear"></div>
					<div class="errorBox2 marg10Top">You entered an incorrect code.</div>
                    <span class="clear"></span>
                </div>
                
                <!--
                <label  class="customCheckbox marg10Top">
                <input id="notglobe" type="checkbox" value=""  name="" /><span class="checkbg marg10Right"></span>
                <span>I don't have a Globe Prepaid number</span></label>
                -->
                <span class="clear"></span>
              
              
              
              <div class="alignCenter marg20Top">
              <a id="savechanges" class="buttonBlue text14 marg10Left marg10Top disable">Save changes</a>
              </div>
              
          
             </div>       
          
        </div>            
		
	</div>
	<div class="dialog_overlay"></div> 